# @Time  : 2021/7/28 22:11
# @Author: zhanfengzhen
# @Email : zhanfengzhen@126.com
# @File  : add_memberPage.py
# !/usr/bin/env python
# -*- coding: UTF-8 -*-
from appium.webdriver.common.mobileby import MobileBy

from hogwarts.HogwartsHomework.appWork1.po.add_manuallyPage import AddManuallyPage
from hogwarts.HogwartsHomework.appWork1.po.basePage import BasePage



class AddMemberPage(BasePage):
    def goto_add_manually(self):
        self.driver.find_element(MobileBy.XPATH, '//*[@text="手动输入添加"]').click()
        return AddManuallyPage(self.driver)

    def get_toast(self):
        print('this is gotoContact')
        return None